<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
	当前<span ><s:property value="#pageInfo.pageIndex"/></span>/<span  ><s:property value="#pageInfo.pageGross"/></span>页
	每页共<span  ><s:property value="#pageInfo.pageSize"/></span>条记录	
	共<span  ><s:property value="#pageInfo.pageRecord"/></span>条记录
<div class="pagination">
	<ul>
		<s:if test="#pageInfo.pageIndex==1"><li class="disabled"><a href="javascript:void(0)">&laquo;</a></li></s:if>
		<s:else>
			<li><a  href="javascript:toPage('<s:property value="#pageInfo.pagePrevious"/>','<s:property value="#pageInfo.pageSize"/>')">&laquo;</a></li>
		</s:else>
		
		<s:if test="(#pageInfo.pageIndex-#pageInfo.pageHide)>1">
				<li><a href="javascript:toPage('1','<s:property value="#pageInfo.pageSize"/>')">1</a></li>
				<li><a title="更多">...</a></li>
		</s:if>
		<s:iterator id="show" value="new int[#pageInfo.pageEnd-#pageInfo.pageTop+1]" status="seq">
			<s:if test="#seq.index+#pageInfo.pageTop!=#pageInfo.pageIndex">			
				<li><a href="javascript:toPage('<s:property value="#seq.index+#pageInfo.pageTop"/>','<s:property value="#pageInfo.pageSize"/>')"><s:property value="#seq.index+#pageInfo.pageTop"/></a></li>
			</s:if>
			<s:else>
				<li class="active"><a href="javascript:void(0)"><s:property value="#seq.index+#pageInfo.pageTop"/></a></li>
			</s:else>
		</s:iterator>
		<s:if test="(#pageInfo.pageIndex+#pageInfo.pageHide)<#pageInfo.pageGross">
			<li><a title="更多">...</a></li>
			<li><a href="javascript:toPage('<s:property value="#pageInfo.pageGross"/>','<s:property value="#pageInfo.pageSize"/>')"><s:property value="#pageInfo.pageGross"/></a></li>
		</s:if>
		
		<s:if test="#pageInfo.pageIndex==#pageInfo.pageGross">
			<li class="disabled" ><a href="javascript:void(0)">&raquo;</a></li>
		</s:if>
		<s:else>
			<li><a href="javascript:toPage('<s:property value="#pageInfo.pageNext"/>','<s:property value="#pageInfo.pageSize"/>')">&raquo;</a></li>
		</s:else>	
	</ul>
</div>


